package com.examplemartin.jpademo.dao;

import com.examplemartin.jpademo.pojo.po.stock.StockPO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface StockDao extends JpaRepository<StockPO,Long> {

    List<StockPO> findAllByName(String name);

}
